export default {
    state: {
        isCollapse: true,
        tagNavList: [],
        createUserModal: false,
        editPasswordModal: false,
        versionModal: false,
        imgCropperModal:false,
        imgToolsOptions: {
            quality: 2,
            openParseGetImg: true
        }
    },
    mutations: {
        changeImgToolsOptions(state, data = {}) {
            // console.log("changeImgToolsOptions", data);
            state.imgToolsOptions = data
        },
        changeImgCropperModal(state, data = {}) {
            // console.log("changeImgToolsOptions", data);
            state.imgCropperModal = data
        },
        changeCollapseStatus(state, status) {
            state.isCollapse = status
        },
        handleCreateUserModalStatus(state, status) {
            state.createUserModal = status
        },
        handleEditPasswordStatus(state, status) {
            state.editPasswordModal = status
        },
        handleVersionModalStatus(state, status) {
            state.versionModal = status
        },
    }
}
